package com.a9_lin.www.testormlite.bean;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;

/**
 * Created by macmini on 16/8/30.
 */
@DatabaseTable(tableName = "tb_wearer")
public class Wearer implements Serializable{

    private static final long serialVersionUID = 1L;

    @DatabaseField(generatedId = true)
    private int id;

    @DatabaseField
    private int WearerID;

    @DatabaseField
    private String WrName;

    @DatabaseField
    private int Sex;

    @DatabaseField
    private int Year;

    @DatabaseField
    private String Birthday;

    public void setWearerID(int WearerID){
        this.WearerID = WearerID;
    }
    public int getWearerID(){
        return this.WearerID;
    }
    public void setWrName(String WrName){
        this.WrName = WrName;
    }
    public String getWrName(){
        return this.WrName;
    }
    public void setSex(int Sex){
        this.Sex = Sex;
    }
    public int getSex(){
        return this.Sex;
    }
    public void setYear(int Year){
        this.Year = Year;
    }
    public int getYear(){
        return this.Year;
    }
    public void setBirthday(String Birthday){
        this.Birthday = Birthday;
    }
    public String getBirthday(){
        return this.Birthday;
    }

    @Override
    public String toString() {
        return "Wearer{" +
                "WearerID=" + WearerID +
                ", WrName='" + WrName + '\'' +
                ", Sex=" + Sex +
                ", Year=" + Year +
                ", Birthday='" + Birthday + '\'' +
                '}';
    }
}
